package com.yc.txx.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 天下行租车-车辆表-10
 * </p>
 *
 * @author k
 * @since 2025-02-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("txx_car")
@ApiModel(value="TxxCar对象", description="天下行租车-车辆表-10")
public class TxxCar implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "型号")
    private String model;

    @ApiModelProperty(value = "封面图片")
    private String image;

    @ApiModelProperty(value = "车辆介绍")
    private String intro;

    @ApiModelProperty(value = "租赁价格: 元/天")
    private BigDecimal price;

    @ApiModelProperty(value = "星级评分: 1~5")
    private Integer stars;

    @ApiModelProperty(value = "状态: 在库,出库,维修")
    private String state;

    @ApiModelProperty(value = "购入时间")
    private LocalDateTime intime;


}
